package com.transfiguro.datamodel.javamodels;

import com.transfiguro.datamodel.ClassType;

import java.util.List;

/**
 * ClassModel will hold class related data. Whenever a class is encountered, an instance of
 * {@link ClassModel} will be created
 */
public class ClassModel {
    private String className;
    private String packageName;
    private ClassType classType;
    private List<Variable> variables;
    private List<Method> methods;
    private Imports imports;
    private int accessModifier;

    public int getAccessModifier() {
        return accessModifier;
    }

    public void setAccessModifier(final int accessModifier) {
        this.accessModifier = accessModifier;
    }

    public String getClassName() {
        return className;
    }

    public void setClassName(final String className) {
        this.className = className;
    }

    public ClassType getClassType() {
        return classType;
    }

    public void setClassType(final ClassType classType) {
        this.classType = classType;
    }

    public List<Variable> getVariables() {
        return variables;
    }

    public void setVariables(final List<Variable> variables) {
        this.variables = variables;
    }

    public List<Method> getMethods() {
        return methods;
    }

    public void setMethods(final List<Method> methods) {
        this.methods = methods;
    }

    public String getPackageName() {
        return packageName;
    }

    public void setPackageName(final String packageName) {
        this.packageName = packageName;
    }

    public Imports getImports() {
        return imports;
    }

    public void setImports(final Imports imports) {
        this.imports = imports;
    }
}
